#import "OmPersonGiftsCell.h"
@interface OmPersonGiftsCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImgView;
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *countLbl;
@property (weak, nonatomic) IBOutlet UILabel *priceLbl;
@end
@implementation OmPersonGiftsCell
- (void)awakeFromNib {
    [super awakeFromNib];
    self.bgView.layer.shadowColor = [UIColor colorWithRed:240/255.0 green:120/255.0 blue:150/255.0 alpha:0.3].CGColor;
    self.bgView.layer.shadowOffset =CGSizeMake(2,2);
    self.bgView.layer.shadowRadius =4;
    self.bgView.layer.shadowOpacity = 1;
    self.bgView.layer.cornerRadius = 6;
}
- (void)setupContent:(OmGiftModel *)model {
    [self.iconImgView sd_setImageWithURL:[NSURL URLWithString:model.img]];
    self.countLbl.text = NSStringFormat(@"%ld%@",model.gift_count,ASLocalizedString(@"个"));
    self.priceLbl.text = NSStringFormat(@"%@%@",model.gift_coin,ASLocalizedString(@"金币"));
}
@end
